package com.lorianknights.rpg.ui.skins
{
	
	import flash.display.MovieClip;
	import flash.text.TextField;
	
	public class UIAchievementSkin extends MovieClip
	{
		
		public var strTitle_txt:TextField;
		public var strDesc_txt:TextField;
		public var uniqueImgMC:MovieClip;
		public var imgHolderMC:MovieClip;
		public var endRes_txt:TextField;
		
		public function UIAchievementSkin()
		{
			
			super();
			addFrameScript(0, frame1, 1, frame2);
			
		}
		
		internal function frame1():void
		{
			
			stop();
			
		}
		
		internal function frame2():void
		{
			
			Utility.traceMessage("kill frame ----");
			
			stop();
			
				if (parent != null)
				{
					
					parent.removeChild(this);
					
				}
		}
	}
}